package com.dabaozhan.modules.wx_app.service;

import java.util.Date;
import java.util.List;

import com.dabaozhan.modules.wx_app.entity.SiteOutRecordEntity;

public interface SiteOutRecordService {
	
	public int addOutRecord(SiteOutRecordEntity entity);
	
	public int updateArriveRecord(SiteOutRecordEntity entity);
	
	public int updateSettleStatus(SiteOutRecordEntity entity);
	
	public List<SiteOutRecordEntity> getOutRecord(String userId,Integer placeStatus,Integer beginIndex,Integer endIndex);
	
	public long getOutRecordCountForPage(String userId,Integer placeStatus);
	
	public List<SiteOutRecordEntity> getBalanceBill(String userId,Integer settleStatus,Date beginTime,Date endTime,Integer beginIndex,Integer endIndex);

	public long getBalanceBillCountForPage(String userId,Integer settleStatus,Date beginTime,Date endTime);

	public SiteOutRecordEntity getRecordByOrderSerial(String orderSerial);
}
